home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
pcv06n01.zip
/
SECRET.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-07
|
519b
|
21 lines
REM SECRET.BAT
@ECHO OFF
IF (%2)==() GOTO INFO
ECHO Enter your secret below.
ECHO Press Enter at the end of each line.
ECHO Use as many lines as necessary.
ECHO When you're done, press Ctrl-Z, Enter.
COPY CON TEMP.TMP > NUL
ENCRYPT "%2" <TEMP.TMP >%1
ECHO SECRET >TEMP.TMP
DEL TEMP.TMP > NUL
GOTO END
:INFO
ECHO.
ECHO SECRET.BAT lets you enter text, and uses
ECHO ENCRYPT.COM to hide it in a file of your choice.
ECHO Use this syntax for the command:
ECHO SECRET filename password
ECHO.
:END